package net.roobook.cms.common.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author cos
 * @email 327878610@qq.com
 * @link https://roobook.net
 * @Description TODO
 * @date 2023/9/12 9:37
 **/
@Component
public class FileConfiguration {
    @Value("${web.resource-path}")
    private String resourceDir;

    @Value("${spring.resources.static-locations}")
    private String staticLocations;

    public String getResourceDir() {
        return resourceDir;
    }

    public void setResourceDir(String resourceDir) {
        this.resourceDir = resourceDir;
    }

    public String getStaticLocations() {
        return staticLocations;
    }

    public void setStaticLocations(String staticLocations) {
        this.staticLocations = staticLocations;
    }
}
